import random
offices = [[],[],[]]
names = ['昆昆','光光','长风','七酱','秋子','智','鸡哥','伊利']
for name in names:
    index = random.randint(0,2)
    offices[index].append(name)
flag = 1
for tempNames in offices:
    print(f'办公室{flag}的人数为：{len(tempNames)}')
    flag +=1
    for name in tempNames:
        print(f"{name}" , end=' ')
    print(" ")